<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%request.setCharacterEncoding("UTF-8"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>我看行</title>
<style>
#body
{
width:980px;
height:1050px;
margin:0px auto;
border:#000000 1px solid;
}
.STYLE2 {font-size: 12px}
</style>
</head>

<body  style="margin:0px;">
<div id="body">
<div style="width:980px; height:256px;">
<div style="margin:0px 0px 5px 0px;"><img src="<%=basePath%>imgs/top_bg.jpg" alt="这是一张图像" /></div>
<div style="float:left; background:url(<%=basePath%>imgs/service_bg.jpg);width:600px;height:182px;">
<div style="width:250px;height:170px;float:left; font-size:12px;">
<form action="<%=basePath%>/servlet/CQM_LoginInServlet" method="post" onsubmit="return check()">
<table  style="float:left; margin:20px 0px 5px 5px;">
  <tr>
    <td>用户</td>
    <td><input type="text" name="name" id="name" style="width:100px;"/></td>
  </tr>
  <tr>
    <td>密码</td>
    <td><input type="password" name="pass" id="pass" style="width:100px;"/></td>
  </tr>
</table>
<input type="submit" value="" style=" background:url(<%=basePath%>imgs/but_I_logon.gif); width:65px; height:62px; float:right;margin:20px 0px 5px 0px;"/>
</form>
<div  style="clear:both; height:25px;"></div>
<div style="text-align:center;"><a href="<%=basePath%>cqm_zhuCe.jsp">用户注册</a></div>
</div>
<div style="width:200px;height:170px;float:right; font-size:12px;">
<form action="<%=basePath%>/servlet/LoginServlet" method="post" >
<table style="margin:20px 0px 0px 15px;">
  <tr>
    <td align="right">企业用户</td>
    <td><input type="text" name="user" id="user" style="width:100px;"/></td>
  </tr>
  <tr>
    <td align="right">密码</td>
    <td><input type="password" name="pass" id="pass" style="width:100px;"/></td>
  </tr>
</table>
<br />
<div style="text-align:center; color:#FF0000; margin:10px 0px 10px 0px;"><a href="<%=basePath%>corporationreg.jsp">企业注册</a></div>
<div style="text-align:center;"><input type="submit" value="" style="background:url(<%=basePath%>imgs/but_C_logon.gif); width:150px; height:36px;" /></div>
</form>
</div>
</div>
<div style="float:right;width:375px;height:178px;border:2px #ffa721 solid;">
<table style=" font-size:12px;">
    <tr>
      <td height="9" colspan="2" bgcolor="#E1EDFD"><span class="STYLE5">&nbsp;&nbsp;找工作&nbsp;&nbsp;<span class="STYLE6">&nbsp;Job Search</span></span></td>
      <td width="60" rowspan="6"><img src="<%=basePath%>imgs/head_search_h2.jpg" /></td>
    </tr>
    <tr>
      <td height="9" colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td width="75" height="24"><span class="STYLE2">&nbsp;&nbsp;职业类别</span></td>
      <td width="213"><select name="select" style="width:200px" >
      <option>职位类别不限</option>
      <option></option>
    
    </select></td>
      </tr>
    <tr>
      <td height="20"><span class="STYLE2">&nbsp;&nbsp;行业类别</span></td>
      <td><select name="select" style="width:200px">
      <option>行业类别不限</option>
      <option></option>
    
    </select></td>
      </tr>
    <tr>
      <td height="17"><span class="STYLE2">&nbsp;&nbsp;工作地区</span></td>
      <td><select name="select" style="width:200px">
      <option>工作地点不限</option>
      <option></option>
    
    </select></td>
      </tr>
    <tr>
      <td height="25"><span class="STYLE2">&nbsp;&nbsp;企业名称</span></td>
      <td>
        <input type="text" name="company" style="width:125px" />
        &nbsp;<img src="<%=basePath%>imgs/d15.jpg" /></td>
      </tr>
  </table>
</div>
<div style="clear:both;width:980px;height:18px; background:url(<%=basePath%>imgs/title_featuredCompanies.gif); background-repeat:repeat-x; margin:5px 0px;"border="0"></div>
</div>
<div style="text-align:center; padding:0px 0px 0px 60px;">
	<%
	Class.forName("com.mysql.jdbc.Driver");
	Connection con = DriverManager.getConnection("jdbc:mysql://localhost/jobs?useUnicode=true&characterEncoding=UTF8","root","");
	Statement st = con.createStatement();
	ResultSet rs = st.executeQuery("select * from ad order by id desc");
	%>

		
		<%
	while(rs.next()){
	 %>
		
		<div style="text-align:center;font-size:12px;float:left;width:100; height:80;margin:10px 10px;">
		<a href="./corporation.htm"><img  width="100" height="50" src="<%=rs.getString("lujing") %>" border="0"/></div>
				
			
	<%} %>
</div>
<div style="clear:both;"></div>
<div style="border-top:1px black solid; margin:10px 0px 0px 0px; text-align:center;">
<table border="0" align="center">
  <tr>
    <td align="center"><span class="STYLE2">人才招聘 Email:<a href="mailto:hr@51job.com">rencai@wkx.com</a>　个人求职 Email:<a href="mailto:club@51job.com">rencai@wkx.com</a>　或垂询100-4567-100</span></td>
  </tr>
  <tr>
    <td height="24" align="center"><span class="STYLE2">未经同意，不得转载本网站之所有招聘信息及作品</span> </td>
  </tr>
  <tr>
    <td align="center">   
    <span class="STYLE1">客服工作时间：8：00——17：00    </span></td>
  </tr>
  
  <tr>
    <td align="center"><img src="<%=basePath %>imgs/biaoshi.gif" /></td>
  </tr>
  <tr>
    <td align="center"><span class="STYLE2">4567工作网版权所有?2009-2019 </span></td>
  </tr>
   
</table>
</div>
</div>
</body>
</html>
